﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "systemresourcemodule", DisableSyncStructure = true)]
	public partial class Systemresourcemodule {

		/// <summary>
		/// 主键
		/// </summary>
		[JsonProperty, Column(Name = "id", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(DbType = "datetime")]
		public DateTime? CreateDate { get; set; }

		/// <summary>
		/// 节点图标
		/// </summary>
		[JsonProperty, Column(Name = "icon")]
		public string Icon { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		[JsonProperty, Column(Name = "isdelete")]
		public bool? Isdelete { get; set; }

		/// <summary>
		/// 修改时间
		/// </summary>
		[JsonProperty, Column(DbType = "datetime")]
		public DateTime? ModifyDate { get; set; }

		/// <summary>
		/// 模块代码
		/// </summary>
		[JsonProperty]
		public string ModuleCode { get; set; }

		/// <summary>
		/// 模块名称
		/// </summary>
		[JsonProperty]
		public string ModuleName { get; set; }

		/// <summary>
		/// 父级id
		/// </summary>
		[JsonProperty, Column(DbType = "int")]
		public int? ParentId { get; set; }

		/// <summary>
		/// 模块路径
		/// </summary>
		[JsonProperty]
		public string Url { get; set; }

	}

}
